//Page 286
//It is interesting to see "limits" implementation in file limits.

#include <limits>
#include <algorithm>
#include <iostream>
using namespace std ;

int main ( )
{
	numeric_limits<float> nlf ;
	numeric_limits<int>   nli ;
	numeric_limits<double> nld ;

	cout<< "float:" << nlf.min( ) << endl ;
	cout<< "float:" << nlf.max( ) << endl ;

	cout<< "  int:" << nli.min( ) << endl ;
	cout<< "  int:" << nli.max( ) << endl ;

	cout<< "double:" << nld.min( ) << endl ;
	cout<< "double:" << nld.max( ) << endl ;

	return 0 ;
}
